package com.zeng.vueserve.coreservice.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zeng.nicecore.bean.CommonBean;
import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
*
* @description 角色和权限
* @author 今天多少号
* @version 2019-11-03 14:49:48
*/
@Data
@Entity
@Table(name = "vue_role_authority")
@TableName(value = "vue_role_authority")
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RoleAuthority extends CommonBean {

    //权限code
    private String authorityCode;

    //角色code
    private String roleCode;

}
